all: g_cli clean
g_cli: cli_main.o watcher.o sem.o file_transfer.o writen.o readn.o
	g++ -o g_cli cli_main.o watcher.o sem.o file_transfer.o writen.o readn.o -lpthread
cli_main.o: cli_main.cpp
watcher.o: watcher.cpp
sem.o: sem.cpp
file_transfer.o: file_transfer.cpp
writen.o: writen.cpp
readn.o: readn.cpp
clean:
	rm *.o

